<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            margin: 0;
            padding: 0;
            list-style: none;
        }
        div{
            width: 400px;
            height: 400px;
            margin: 50px auto;
        }
        ul{
            display: flex;
        }
        ul>li{
            width:100px;
            height: 100px;
            border: 1px solid #ffffff;
            background: skyblue;

            display: flex;
            justify-content: center;
            align-items: center;

            color: #fff;
            font-size: 30px;
        }
        ol{
            position: relative;
        }
        ol>li{
            width: 400px;
            height: 300px;
            position: absolute;
            left: 0;
            top: 0;
            background: pink;
            
            justify-content: center;
            align-items: center;
            display: none;

            color: #fff;
            font-size: 100px;
        }
        .active1{
            background-color: rgb(226, 226, 71);
        }
        .active2{
            display: flex;
        }
    </style>
</head>
<body>
    <div>
        <ul>
            <li class="active1">1</li>
            <li>2</li>
            <li>3</li>
            <li>4</li>
        </ul>
        <ol>
            <li class="active2">选择1</li>
            <li>选择2</li>
            <li>选择3</li>
            <li>选择4</li>
        </ol>
    </div>
    <script src="js/Jquery3.6.js"></script>
    <script src="js/选项卡.js"></script>
</body>
</html>